var u = Object.defineProperty, m = Object.defineProperties;
var f = Object.getOwnPropertyDescriptors;
var o = Object.getOwnPropertySymbols;
var S = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
var n = (r, t, e) => t in r ? u(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, a = (r, t) => {
  for (var e in t || (t = {}))
    S.call(t, e) && n(r, e, t[e]);
  if (o)
    for (var e of o(t))
      y.call(t, e) && n(r, e, t[e]);
  return r;
}, i = (r, t) => m(r, f(t));
import { computed as s } from "vue";
import { c as g } from "../component-87e22bdd.mjs";
import { c as v } from "../props-c0e5b20d.mjs";
/*!
* Vin UI 移动端 Vue3 组件库 v0.2.9 Fri Jun 02 2023 21:01:02 GMT+0800 (中国标准时间)
* (c) 2023 @vingogo.
* Released under the MIT License.
*/
const C = i(a({}, v), {
  imgUrl: {
    type: String,
    default: ""
  },
  title: {
    type: String,
    default: ""
  },
  price: {
    type: String,
    default: ""
  },
  vipPrice: {
    type: String,
    default: ""
  },
  shopDesc: {
    type: String,
    default: ""
  },
  delivery: {
    type: String,
    default: ""
  },
  shopName: {
    type: String,
    default: ""
  },
  isNeedPrice: {
    type: Boolean,
    default: !0
  }
}), { create: P, useVinContext: x } = g("card"), D = P({
  props: C,
  setup(r, { slots: t }) {
    const { getMainClass: e, getMainStyle: p } = x(r), c = s(e), l = s(p);
    return {
      mainClass: c,
      mainStyle: l,
      isHaveSlot: (d) => t[d]
    };
  }
});
export {
  D as default
};
